﻿using System;

namespace BGN.PlugIn.Client.LoginSinfoTool
{
    class LoginSinfoPlugInConfiger :BGN.PlugIn.Common.BasicConfiger
    {

        protected override String ParentXPath
        {
            get
            {
                return "/Configs/LoginSinfoPlugIn";
            }
        }

        private static LoginSinfoPlugInConfiger instance;
        private static Object locker = new Object();

        /// <summary>
        /// 获取插件的图标
        /// </summary>
        /// <returns></returns>
        public String GetIcon()
        {
            return GetXmlConfigNodeInnerText("Icon");
        }

        public static LoginSinfoPlugInConfiger Instance
        {
            get
            {
                if (instance != null) return instance;
                lock (locker)
                {
                    instance = new LoginSinfoPlugInConfiger();
                }
                return instance;
            }
        }
    }
}
